﻿using Amarok.Agents;


namespace Amarok.Samples
{
	/// <summary>
	/// </summary>
	public sealed class MyRuntime : Runtime<MyEnvironment>
	{
		#region ++ Public Interface ++

		/// <summary>
		/// </summary>
		public MyRuntime()
		{
		}

		#endregion

		#region ## Overridable Methods ##

		/// <summary>
		/// </summary>
		protected override MyEnvironment CreateEnvironment(IRuntime runtime, IMessageBus messageBus)
		{
			return new MyEnvironment(runtime, messageBus);
		}


		/// <summary>
		/// </summary>
		protected override void OnStartup()
		{
			base.LoadSubsystem<MyPresentationSubsystem>();
		}

		/// <summary>
		/// </summary>
		protected override void OnCleanup()
		{
			// TODO: implement cleanup logic
		}

		#endregion

	}
}
